import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { Button, Message, Table, TableColumn, Loading, Select, Option } from 'element-ui'

Vue.config.productionTip = false

Vue.use(Button)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Select)
Vue.use(Option)
Vue.use(Loading.directive)

Vue.prototype.$loading = Loading.service
Vue.prototype.$message = Message

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
